package net.cyue.web.easyquery.core.http.adapter;

import net.cyue.web.easyquery.core.http.api.IHTTPResponse;

public abstract class AbstractHTTPResponse<TResponse> implements IHTTPResponse {

    protected final TResponse response;

    public AbstractHTTPResponse(TResponse response)
    {
        this.response = response;
    }

    /**
     * 获取原始响应对象
     * @return 原始响应对象
     */
    public TResponse getResponse()
    {
        return this.response;
    }
}
